package com.atguigu.gmall.user.client;

import com.atguigu.gmall.model.user.UserAddress;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author: 李旭
 * @create: 2021-07-23 14:04
 **/
@FeignClient(name = "service-user")
public interface UserFeignClient {

    //收货地址
    @GetMapping("/api/user/passport/getUserAddressList")
    public List<UserAddress> getUserAddressList();
}
